package lesson3;

public class Point {
    private double x;
    private double y;

    public Point() {
    }

    public Point(double x, double y) {
        this.x = x;
        this.y = y;
    }

    public void movePoint(int dx,int dy){
        x+=dx;
        y+=dy;
    }


    public void printInfo(){
        System.out.println("x:"+x+"    y:"+y);
    }

}
